package com.by.bean.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class EnterpriseData {

    @ExcelProperty("企业编码")
    String code;

    @ExcelProperty("企业名称")
    String name;
    @ExcelProperty("联系人")
    String user;

    @ExcelProperty("手机号")
    String mobile;

    @ColumnWidth(30)
    @ExcelProperty("创建时间")
    String createTime;

    @ColumnWidth(30)
    @ExcelProperty("到期时间")
    String expireDate;
}
